﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace mozhi.smarterp.Business.Products
{
    public class ProductPurchaseSettingCreateDto 
    {
        [Required]
        public Guid ProductId { get; set; }

        /// <summary>
        /// 采购默认单位
        /// </summary>
        [Required]
        public Guid? PurchaseUnitId { get; set; }


        /// <summary>
        /// 默认供应商
        /// </summary>
        [Required]
        public Guid? DefaultSupplierId { get; set; }

        /// <summary>
        /// 默认采购员
        /// </summary>
        [Required]
        public Guid DefaultPurchaserId { get; set; }

        /// <summary>
        /// 最小订购数量（基于基本单位）
        /// </summary>
        public decimal? MinPurchaseQuantity { get; set; }
    }
}
